<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
    "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
     xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
     xsi:schemaLocation="http://www.w3.org/MarkUp/SCHEMA/xhtml11.xsd"
     xml:lang="en">
  <head>
    <title>Information Center for ARM</title>
    <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
    <link type="text/css" rel="stylesheet" media="all" href="file://$TOOLKIT_DIR$/doc/infocenter/style/ewic.css" />
  </head>
  <body>
  <div id="topbanner"></div>
  <div id="titlebanner_small">
    <h2>Information Center for ARM</h2>
  </div>
  <div class="breadcrumb"><a href="$TOOLKIT_DIR$/doc/infocenter/index.ENU.html">Information Center for ARM</a> | EXAMPLES</div>
  <div class="mainblock">
   <h2>Example description</h2>

   <pre>  <!--Insert readme.txt-->
Capture Interrupt

Purpose:
	This example used to test Capture Timer function.
	We use Timer 2 to take a snapshot of the timer value when an input signal on CAP2.1 (pin P0.5 - Joystick Center button) transitions.
	Changing connect P0.5 with GND and VCC continuously to capture time.
	Using UART0 with this configuration - 115200bps - 8 data bit - No parity - 1 stop bit - No flow control 
	

Hardware configuration:
	This example tested on IAR LPC-1768-SK
	These jumpers must be configured as following:
		- DBG_E must be closed and PWR_SEL position depending of power source

Running mode:
	This example can run on RAM mode with a debugger or run on FLASH after burning.
	
Note:
	None

-----------------------------------------------------------------------------------
Match Interrupt
Purpose:
	This is a simple example to test TIMER in interrupt mode.
	Use timer 0 to turn on/off LED (toggle MAT1.1(pin P1.25)) at frequency 10Hz.
	Using UART0 with this configuration - 115200bps - 8 data bit - No parity - 1 stop bit - No flow control 
	

Hardware configuration:
	This example tested on IAR LPC-1768-SK
	These jumpers must be configured as following:
		- DBG_E must be closed and PWR_SEL position depending of power source

Running mode:
	This example can run on RAM mode with a debugger or run on FLASH after burning.
	
Note:
	None

-----------------------------------------------------------------------------------
Match Polling

Purpose:
	This is a simple example for Timer in polling mode: Wait 1 second to turn ON/OFF LED in sequence.
	Using UART0 with this configuration - 115200bps - 8 data bit - No parity - 1 stop bit - No flow control 
	

Hardware configuration:
	This example tested on IAR LPC-1768-SK
	These jumpers must be configured as following:
		- DBG_E must be closed, ACC_IRQ/LED2 at LED2 position and PWR_SEL position depending of power source

Running mode:
	This example can run on RAM mode with a debugger or run on FLASH after burning.
	
Note:
	None
    </pre>

  </div>
  </body>
</html>






